/*
 * Copyright (c) 2022-2022 All rights Reserved.
 */

package com.driving.core.service.dto;

import com.driving.core.entity.StudentSuggest;

import lombok.Getter;
import lombok.Setter;

/**
 * @author SAGITTAR
 * @since 2017
 */
@Getter
@Setter
public class SuggestDTO {

    private Integer studentId;

    private String content;

    public StudentSuggest toSuggest() {
        StudentSuggest studentSuggest = new StudentSuggest();
        studentSuggest.setStudentId(studentId);
        studentSuggest.setContent(content);
        return studentSuggest;
    }
}
